<?php
  session_start();
  if(!$_SESSION)
  {
    ?> 
     <script type="text/javascript">
     alert("Identifiquese"); 
     window.location="../../Index.php";
     </script>
    <?php
 
  }
  
?>